
namespace FinancialAnalyzer.ToolClasses
{
    public class Singleton<T>  where T : class ,new()
    {
        class SingletonCreator
        {
            static SingletonCreator() {}

            internal readonly static T instance = new T();
        }

        public static T getUniqueInstance
        {
            get { return SingletonCreator.instance;}
        }
    }
}
